From: Giovanni Campagna Date: Sun, 16 Dec 2012 23:45:43 +0000 (+0100) Subject: WorkspacesView: don't use clutter_actor_reparent() X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5202 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5487f8cf937e789295de81c5a89511db15d50c91;p=gnome-shell.git WorkspacesView: don't use clutter_actor_reparent() It's deprecated and in this case is not needed because at that point the actor hasn't been parented yet. https://bugzilla.gnome.org/show_bug.cgi?id=688234 --- diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 4d22f352f..2fc3fb8a8 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -69,7 +69,7 @@ const WorkspacesView = new Lang.Class({ // Add workspace actors for (let w = 0; w < global.screen.n_workspaces; w++) - this._workspaces[w].actor.reparent(this.actor); + this.actor.add_actor(this._workspaces[w].actor); this._workspaces[activeWorkspaceIndex].actor.raise_top(); this._extraWorkspaces = [];